package com.healthy.reminders.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthy.common.core.annotation.Excel;
import com.healthy.common.core.web.domain.BaseEntity;

/**
 * 定时提醒对象 health_reminders
 * 
 * @author 束伟
 * @date 2024-03-29
 */
public class HealthReminders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 健康提醒ID */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 健康计划ID */
    @Excel(name = "健康计划ID")
    private Long healthPlanid;

    /** 提醒内容 */
    @Excel(name = "提醒内容")
    private String reminderText;

    /** 提醒时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reminderTime;

    /** 是否已经发送 */
    @Excel(name = "是否已经发送")
    private Integer isSent;

    /** 备用列1 */
    @Excel(name = "备用列1")
    private String spareColumn1;

    /** 备用列2 */
    @Excel(name = "备用列2")
    private String spareColumn2;

    /** 备用列3 */
    @Excel(name = "备用列3")
    private String spareColumn3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setHealthPlanid(Long healthPlanid) 
    {
        this.healthPlanid = healthPlanid;
    }

    public Long getHealthPlanid() 
    {
        return healthPlanid;
    }
    public void setReminderText(String reminderText) 
    {
        this.reminderText = reminderText;
    }

    public String getReminderText() 
    {
        return reminderText;
    }
    public void setReminderTime(Date reminderTime) 
    {
        this.reminderTime = reminderTime;
    }

    public Date getReminderTime() 
    {
        return reminderTime;
    }
    public void setIsSent(Integer isSent) 
    {
        this.isSent = isSent;
    }

    public Integer getIsSent() 
    {
        return isSent;
    }
    public void setSpareColumn1(String spareColumn1) 
    {
        this.spareColumn1 = spareColumn1;
    }

    public String getSpareColumn1() 
    {
        return spareColumn1;
    }
    public void setSpareColumn2(String spareColumn2) 
    {
        this.spareColumn2 = spareColumn2;
    }

    public String getSpareColumn2() 
    {
        return spareColumn2;
    }
    public void setSpareColumn3(String spareColumn3) 
    {
        this.spareColumn3 = spareColumn3;
    }

    public String getSpareColumn3() 
    {
        return spareColumn3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("healthPlanid", getHealthPlanid())
            .append("reminderText", getReminderText())
            .append("reminderTime", getReminderTime())
            .append("isSent", getIsSent())
            .append("spareColumn1", getSpareColumn1())
            .append("spareColumn2", getSpareColumn2())
            .append("spareColumn3", getSpareColumn3())
            .toString();
    }
}
